#include "fxcc/imgui/Editor.h"
#include "fxcc/core/graph/common/Transform.h"

using namespace fxcc::graph::common;
using namespace fxcc::imgui;

template <>
bool Editor::Edit(const std::string& label, Transform& inst)
{
    int index = 0;
       
    ImGui::Text(label.c_str());
    EditInst<glm::vec3>("Pos", inst.m_Position);
    EditInst<glm::vec3>("Rot", inst.m_Rotation);
    EditInst<glm::vec3>("Scl", inst.m_Scale);

    return false;
}
